﻿@using System.Data
@using ZoomLa.BLL
@model ZoomLa.SQLDAL.SQL.PageSetting
@{
    B_Exam_Sys_Papers paperBll=new B_Exam_Sys_Papers();
    Model.cols = 5;
    Model.url = "Papers_System_Manage";
}
<table class="table table-striped table-bordered table-hover" id="EGV">
    <tr>
        <td></td>
        <td>试卷标题</td>
        <td>试卷分类</td>
        <td>试卷类型</td>
        <td>操作</td>
    </tr>
    @foreach (DataRow dr in Model.dt.Rows)
    {
        <tr>
            <td><input type="checkbox" name="idchk" value="@dr["id"]" /></td>
            <td><i class="fa fa-paragraph"></i>@dr["p_name"]</td>
            <td>@dr["C_ClassName"]</td>
            <td>@paperBll.GetPType(dr["p_style"])</td>
            <td>
                <a class="option_style" href="../Questions/ExamDetail?ID=@dr["id"]" target="_blank"><i class="fa fa-clipboard"></i>参加考试</a>
                <a class="option_style" href="Paper_QuestionManage?pid=@dr["id"]"><i class="fa fa-magic">题目管理</i></a>
                <a class="option_style" href="AddPaper?menu=Edit&id=@dr["id"]" title="修改"><i class="fa fa-pencil"></i></a>
                <a class="option_style" href="DownPaper?ID=@dr["id"]" target="_blank" title="下载试卷"><i class="fa fa-download"></i></a>
            </td>
        </tr>
    }
    @Html.Partial("_page",Model)
</table>
